package com.bolehui.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.bolehui.base.domain.entity.AbstractBaseEntity;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chendongjie
 * @since 2025-03-18
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
public class Education extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long candidateId;

    /**
     * 学校名称
     */
    private String schoolName;

    /**
     * 学历
     */
    private String degree;

    /**
     * 专业
     */
    private String major;

    /**
     * 开始时间
     */
    private Date startDate;

    /**
     * 结束时间
     */
    private Date endDate;

    /**
     * GPA
     */
    private BigDecimal gpa;

    /**
     * 成绩排名
     */
    private String ranking;

    /**
     * 主修课程
     */
    private String mainCourses;
}
